package com.wsoft.bpm.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;

import java.util.Date;

/**
 * 流程列表VO类
 *
 * @Author zhonglj
 * @Date 2024-10-17 13:45
 */
@Data
public class ProcessListVO {
    @Schema(description = "流程定义id")
    private String id;
    @Schema(description = "流程定义名称")
    private String pname;
    @Schema(description = "流程定义唯一键")
    private String pkey;
    @Schema(description = "流程定义版本")
    private String version;
    @Schema(description = "流程部署id")
    private String deploymentId;
    @Schema(description = "流程定义文件的名称或路径")
    private String resourceName;
    @Schema(description = "流程图（Diagram）文件的名称或路径")
    private String dgrmResourceName;
    @Schema(description = "流程定义是否关联了一个启动表单")
    private Integer hasStartFormKey;
    @Schema(description = "流程定义是否包含图形表示（即流程图）")
    private Integer hasGraphicalNotation;
    @Schema(description = "流程定义的挂起状态。\n" +
            "1：表示流程定义处于激活状态（即正常运行状态）。\n" +
            "2：表示流程定义处于挂起状态（即暂停状态）")
    private String suspensionState;
    @Schema(description = "部署时间")
    private Date deployTime;
}
